package com.xb.cloud.order.model.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xb.cloud.order.model.SoSku;
import com.xb.cloud.order.model.SoSkuExample;
import com.xb.cloud.order.service.client.bo.SoSkuSummeryBo;

public interface SoSkuMapper {
    int countByExample(SoSkuExample example);

    int deleteByExample(SoSkuExample example);

    int deleteByPrimaryKey(Long id);

    int insert(SoSku record);

    int insertSelective(SoSku record);

    List<SoSku> selectByExample(SoSkuExample example);

    SoSku selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SoSku record, @Param("example") SoSkuExample example);

    int updateByExample(@Param("record") SoSku record, @Param("example") SoSkuExample example);

    int updateByPrimaryKeySelective(SoSku record);

    int updateByPrimaryKey(SoSku record);
    
    List<SoSkuSummeryBo> getOrderSkuListByOrderIdList(SoSkuExample example);
    
    List<SoSkuSummeryBo> getOrderSkuListByOrderId(SoSkuExample example);
}